/*
 * Copyright (C) 拾光分享网 
 * All rights reserved, Designed By www.hiai.top.
 * Email：goodsking@163.com.
 */
package top.hiai.common.model;

import top.hiai.common.model.base.ArticleBase;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top
* @Introduction 类的介绍:文章实体类
*/

@SuppressWarnings("serial")
public class Article extends ArticleBase<Article> {

	public static final int STATUS_NOT = 0;			// 文章不显示
	public static final int STATUS_OK = 1;			// 文章显示

	public static final int HOT_NOT = 0;			// 文章不是热门文章
	public static final int HOT_OK = 1;				// 文章是热门文章

	
	public boolean isStatusOk() {
		return getStatus() == STATUS_OK;
	}

	public boolean isStatusReg() {
		return getStatus() == STATUS_NOT;
	}
	
	public boolean isHotOk() {
		return getIs_hot() == HOT_OK;
	}

	public boolean isNotHotReg() {
		return getIs_hot() == HOT_NOT;
	}

}